﻿@model LogLayans.Web.Models.RegisterViewModel
@{
    ViewBag.Title = "Register";
}



@using (Html.BeginForm("Register", "Account", FormMethod.Post, new {role = "form" }))
{
    @Html.AntiForgeryToken()
    <div id="regform">
        <h1>Регистрация.</h1>
        <div id="reg">
            @Html.ValidationSummary()
                @Html.LabelFor(m => m.UserName, new { @id = "test" })
                @Html.TextBoxFor(m => m.UserName, new { }) <br /> <br />

                @Html.LabelFor(m => m.Password, new {})
                    @Html.PasswordFor(m => m.Password, new {}) <br /><br />

                @Html.LabelFor(m => m.ConfirmPassword, new {}) 

                    @Html.PasswordFor(m => m.ConfirmPassword, new { }) <br /> <br />

                <div id="regbutt">  
                    <input type="submit" value="регистрирай" />
                </div>
        </div>
   </div>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
